package dq.study.designmodel.command;

/**
 * @author dongqun
 * @Description: 具体的命令
 * @date 2019/4/18 22:37
 */
public class SpecificCommand extends Command {

    public SpecificCommand(Receiver receiver, String content) {
        this.receiver = receiver;
        setContent(content);
    }

    @Override
    protected void execute() {
        receiver.action(this);
    }

}
